package com.smartwebx.fr.bean.mysql;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

import com.smartwebx.fr.util.StationFinalFields;

public class PagePoint {
	private String id;

	private Integer pageId;

	private String dataConfig;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getPageId() {
		return pageId;
	}

	public void setPageId(Integer pageId) {
		this.pageId = pageId;
	}

	public String getDataConfig() {
		return dataConfig;
	}

	public void setDataConfig(String dataConfig) {
		if (dataConfig != null) {
			try {
				this.dataConfig = URLDecoder.decode(dataConfig,
						StationFinalFields.DEFAULT_ENCODE);
			} catch (UnsupportedEncodingException e) {
				e.printStackTrace();
				this.dataConfig = "";
			}
		}
	}
}